//
//  FFRecvPayVM.h
//  LLWallet
//
//  Created by tt on 2020/12/16.
//

#import <WuKongBase/WuKongBase.h>
@class FFRecvPayQrcodeResp;
@class FFRecvPayVM;
NS_ASSUME_NONNULL_BEGIN

@protocol FFRecvPayVMDelegate <NSObject>

@optional


/// 更多点击
/// @param vm <#vm description#>
-(void) ff_recvPayVMMorePressed:(FFRecvPayVM*)vm;

@end

@interface FFRecvPayVM : WKBaseTableVM

@property(nonatomic,weak) id<FFRecvPayVMDelegate> delegate;

-(AnyPromise*) requestQRCode;

-(AnyPromise*) closeQRCode; // 关闭二维码


@property(nonatomic,strong) FFRecvPayQrcodeResp *payQRCodeResp;

@end

@interface FFRecvPayQrcodeResp : WKModel

@property(nonatomic,assign) NSInteger status; // 1.开启 0.未开启
@property(nonatomic,copy) NSString *qrcode; // 付款二维码
@property(nonatomic,assign) NSInteger expire; // 过期时间
@property(nonatomic,copy) NSString *amountFormat;
@end

NS_ASSUME_NONNULL_END
